package anonymouschat.messages.clientrequests;


/**
 * client sends an instance of this to server, when it leaves the system.
 * 
 * How to define LEAVE?
 * 
 * close the chat room frame.
 * 
 * @author bh349
 * 
 */
public class UserLeaveRequest extends ClientRequest
{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    private String chatroomName;

    public UserLeaveRequest( String userID, String chatroomName ) {
        super( userID );
        setChatroomName( chatroomName );
    }

    public void setChatroomName( String chatroomName ) {
        this.chatroomName = chatroomName;
    }

    public String getChatroomName() {
        return chatroomName;
    }

}
